#pragma once
#include "afxcmn.h"
#include <vector>

// CWorkDlg dialog

class CWorkDlg : public CDialog
{
	// Dialog Data
	enum { IDD = IDD_WORK_DLG };

public:
	CWorkDlg(const std::vector<long> &set, long n, CWnd* pParent = NULL);   // standard constructor

	virtual 
		~CWorkDlg();

	virtual BOOL	
		OnInitDialog();
	afx_msg void	
		OnBnClickedBtnAnilizeNow();
	afx_msg void	
		OnBnClickedBtnDownsizeCanonicMethod();
	afx_msg void	
		OnBnClickedBtnDownsizeMethod1();

protected:
	DECLARE_MESSAGE_MAP()
	virtual void	
		DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	void			
		InitControls();

	std::vector<long>
		m_set;
	int								
		m_N;
	HICON 
		m_hIcon;
	CListCtrl			
		m_lstSortingAnalisys;
	std::vector<CSpinButtonCtrl *>	
		m_spinValue;
	std::vector<CEdit *>				
		m_edValue;
	std::vector<CStatic *>			
		m_stValue;
};
